package com.pym.bs.service;

import com.pym.bs.domain.Ldemo;
import com.pym.bs.dto.DemosDTO;
import com.pym.bs.dto.LdemoDTO;
import com.pym.bs.utils.Pageable;
import com.pym.bs.vo.PageVO;
import com.pym.bs.vo.ResultVO;
import org.springframework.stereotype.Service;

import java.io.IOException;

@Service
public interface LdemoService {

    ResultVO<Ldemo> save(LdemoDTO ldemoDTO) throws IOException;

    PageVO<DemosDTO> list(LdemoDTO ldemoDTO, Pageable pageable);
}
